<script setup>
	import {
		ref,
		onMounted
	} from 'vue';
	const show = ref(true)
	const scroll = ref(null)
	onMounted(() => {
		console.log(scroll.value)
	})
	setTimeout(() => {
		show.value = false
	}, 2000)
</script>
<template>
	<view class="layou">
		<scroll-view scroll-y="true" class="scroll" ref="scroll">
			<view></view>
		</scroll-view>
		<life-demo v-if="show"></life-demo>
	</view>
</template>
<style lang="scss" scoped>

</style>